package com.lx.constant.segment.common;

import com.lx.constant.segment.Segment;
import com.lx.wrapper.AbstractWrapper;
import lombok.Getter;
import lombok.Setter;

/**
 * 片段SQL语句类型,基于用户手动补全的语句字符串进行数据拼接
 *
 * @author lx
 * @create 2023/3/1 17:34
 **/
@Getter
@Setter
public class QlFragmentSegment extends Segment {

    /**
     * 附加语句字符串
     */
    private String fragmentQlString;

    @Override
    public String convertSegmentToQL(AbstractWrapper parentWrapper, AbstractWrapper thisWrapper, boolean isHQL) {
        return fragmentQlString;
    }
}
